package com.bootdo.cash.dao;

import com.bootdo.cash.domain.CashDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @Desc
 * @date 2019/12/13
 *
 */
@Mapper
public interface CashDao {

    CashDO get(Long userId);

    List<CashDO> list(Map<String,Object> map);

    int count(Map<String,Object> map);

    int save(CashDO user);

    int update(CashDO user);

    Double findMoneyCount(Long id);

    List<CashDO> findMoneyCountByIds(List<Long> ids);

}
